@(id: Long, qcmNiveauQuestionForm: Form[QcmNiveauquestion])
@header()

@import helper._

@implicitFieldConstructor = @{ FieldConstructor(twitterBootstrapInput.render) } 

@main("createQcmNiveauQuestion") {
	  
    @form(routes.AdminQcmNiveauQuestion.updateQcmNiveauQuestion(id)) {
    	<div class="bs-docs-example" >
    	
    	<div class="bs-docs-example-after" >
    	Etape 1 sur 1
    	</div>
     
     	<legend> Modifier le qcmNiveauQuestion </legend>
     	
     	  <fieldset>
          <br>
                      @select(
                      		qcmNiveauQuestionForm("qcm.idQcm"), 
                              options(Qcm.options), 
                              '_label -> "QCM passe", '_default -> "-- Choisir un QCM --",
                              '_showConstraints -> false
                          )            		
  	
                      @select(
                      		qcmNiveauQuestionForm("niveauQuestion.idNiveauQ"), 
                              options(NiveauQuestion.options), 
                              '_label -> "Niveau de la question ", '_default -> "-- Choisir un niveau --",
                              '_showConstraints -> false
                          )
                          
              @inputText(qcmNiveauQuestionForm("pointPositif"), '_label -> "points positifs pr le niveau de ce QCM")
              @inputText(qcmNiveauQuestionForm("pointNegatif"), '_label -> "points positifs pr le niveau de ce QCM")

          </fieldset>
            
            
            
        <br>
        
        <div class="actions">
        <a href="@routes.AdminQcmNiveauQuestion.indexQcmNiveauQuestion()" class="btn btn-primary"><i class="icon-white icon-circle-arrow-left"></i> Retour</a>
    	<button type="submit" class="btn btn-primary"> Enregistrer <i class="icon-white icon-circle-arrow-right"></i> </button>
        </div>
       </div>
    }
    
    @form(routes.AdminQcmNiveauQuestion.deleteQcmNiveauQuestion(id), 'class -> "topRight") {
            <input type="submit" value="Supprimer ce qcmNiveauQuestion" class="btn danger">
    }
    
}